package com.whminwei.edu.api.dc.dto.fspn.other;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangjq
 * @since 2024-08-01
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DcCpcActivityFspn {

    private List<DcCpcActivity> activities;

    private List<String> deleted;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcCpcActivity {
        private String id;
        /**
         * 党组织ID
         */
        private String cpcId;
        /**
         * 活动类别
         */
        private String type;
        /**
         * 党建活动主要途径和载体
         */
        private String usage;
        /**
         * 党员干部学习内容
         */
        private String learning;
        /**
         * 党课主讲人
         */
        private String speaker;
        /**
         * 活动地点
         */
        private String address;
        /**
         * 活动内容
         */
        private String content;
        /**
         * 活动内容码
         */
        private String contentCode;
        /**
         * 开始时间
         */
        private String startTime;
        /**
         * 结束时间
         */
        private String endTime;
        /**
         * 参与学生列表
         */
        private List<String> students;
        /**
         * 参与教职工列表
         */
        private List<String> staffs;
    }
}
